package com.microservice.microservicemovie;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.turbine.EnableTurbine;
import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;

/**
 * @EnableTurbine 开启集群监控
 */
@EnableTurbine
// @EnableEurekaClient
@SpringBootApplication
public class TurbineHystrixApplication {

	public static void main(String[] args) {
		SpringApplication.run(TurbineHystrixApplication.class, args);
	}
}
